* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #141414;
    color: #fff;
    padding-bottom: 50px;
}

.netflix-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 20px 0;
    background-color:#2f2f2f;
    position:sticky;
}

.logo {
    color: #e50914;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav a {
    color: #e5e5e5;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #b3b3b3;
}

.hero-section {
    display:flex;
    align-items: flex-end;
    position: relative;
    height: 300px;
    background:(to bottom, rgba(0,0,0,0.1), rgba(20,20,20,1)), url(../images/movies/movie-banner.jpg) no-repeat center/cover;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
   
}
.hero-section h1{
    position: relative;
    bottom:30px;
left:4%;
font-size :2.2rem;
margin:0;
max-width:450px;
text-shadow:2px 2px 4px rgba(0,0,0,0.8);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.film-icon {
    font-size: 40px;
    opacity: 0.8;
}

.hero-title {
    font-size: 28px;
    font-weight: bold;
}

.movie-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background-color: #e50914;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
}

.movie-grid {
    display: grid;
     grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.movie-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
    background-color: #2f2f2f;
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

.movie-name {
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    background-color: #181818;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hiệu ứng di chuột lên hình ảnh: To hơn và có bóng đổ rõ rệt */
.movie-card:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    z-index: 10;
}